<%@ page contentType="text/html; charset=utf-8"%>

<%@ include file="/WEB-INF/jsp/includeTaglib.jsp"%>

<table class="dbborder" width="100%" border="0" cellpadding="0" cellspacing="1">
	<tr class="rowHead">
		<td height="20" nowrap align="center" class="globalTextBold">标题</td>
		<td height="20" nowrap align="center" class="globalTextBold">发送时间</td>
		<td height="20" nowrap align="center" class="globalTextBold">发送人</td>
		<td height="20" nowrap align="center" class="globalTextBold">发送内容</td>
		<td height="20" nowrap align="center" class="globalTextBold">优先级</td>
		<td height="20" nowrap align="center" class="globalTextBold">接收人</td>
		<td height="20" nowrap align="center" class="globalTextBold">接收时间</td>
	</tr>
	<c:forEach var="message" items="${page.data}" varStatus="status">
		<tr class="rowClass">
			<td height="20" class="globalText">
				${message.head}
			</td>
			<td height="20" class="globalText">
				<fmt:formatDate value="${message.createdOnDate}" pattern="yyyy-MM-dd HH:mm:ss" />
			</td>
			<td height="20" class="globalText">
				${message.creator}
			</td>
			<td height="20" class="globalText">
				${message.body}
			</td>
			<td height="20" class="globalText">
				${message.priority}
			</td>
			<td height="20" class="globalText">
				${message.receiver}
			</td>
			<td height="20" class="globalText">
				<fmt:formatDate value="${message.receivedOnDate}" pattern="yyyy-MM-dd HH:mm:ss" />
			</td>
		</tr>
	</c:forEach>
</table>

<%@ include file="/WEB-INF/jsp/includePagination.jsp"%>

